<?php

namespace app\common\model;

use app\common\model\BaseModel as BaseModel;

/**
 * Class LawyerImpression
 * @package app\common\model
 * @property int $id
 * @property string $module
 * @property string $scene
 * @property int $lawyerId
 * @property int $memberId
 * @property int $requestId
 * @property int $c_time
 * @link https://www.kancloud.cn/manual/thinkphp6_0/1037579
 * @link https://www.kancloud.cn/manual/think-orm/1257998
 * @link https://www.kancloud.cn/thinkphp/master-database-and-model/265551
 */
class LawyerImpression extends BaseModel
{
    // 首页，优选
    const SHOUYE_YOUXUAN = 'SHOUYE_YOUXUAN';
    // 首页，热门咨询
    const SHOUYE_REMENZIXUN = 'SHOUYE_REMENZIXUN';
    // 律师，列表
    const LVSHI_LIEBIAO = 'LVSHI_LIEBIAO';
    // 咨询详情，更多案例
    const ZIXUN_ANLI = 'ZIXUN_ANLI';
    // 咨询详情，更多律师
    const ZIXUN_LVSHI = 'ZIXUN_LVSHI';


    protected $name = 'LawyerImpression';

    /**
     * 1对1
     * @return \think\model\relation\HasOne
     */
    //    public function one(){
    //        return $this->hasOne( Test1::class, 'Test1表中的键', 'LawyerImpression表中的键');
    //    }

    /**
     * 1对多
     * @return \think\model\relation\HasMany
     */
    //    public function many(){
    //        return $this->hasMany( Test1::class, 'Test1表中的键', 'LawyerImpression表中的键');
    //    }

    /**
     * 多对多
     * @return \think\model\relation\BelongsToMany
     */
    //    public function belongs(){
    //        return $this->belongsToMany( Test1::class, '中间表', '中间表中Test1的键', '中间表中LawyerImpression的键');
    //    }
}
